UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All global initialization files must not have extended ACLs.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22356 GEN001730 SV-26470r1_rule ECLP-1 Medium
Description
Global initialization files are used to configure the user's shell environment upon login. Malicious modification of these files could compromise accounts upon logon.
STIG Date
Solaris 9 X86 Security Technical Implementation Guide 2013-07-02

Details

Check Text ( C-27536r1_chk )
Check global initialization files for extended ACLs.
# ls -lL /etc/profile /etc/bashrc /etc/csh.login /etc/csh.cshrc /etc/environment /etc/.login /etc/security/environ
If the permissions on an existing file include a "+", the file has an extended ACL, this is a finding.
Fix Text (F-23699r1_fix)
Remove the extended ACL from the file.
# getfacl [global initialization file with extended ACL]
Remove each ACE returned.
# setfacl -d [ACE] [global initialization file with extended ACL]